package com.kingint.web.sys.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.kingint.mbg.dto.BackQueryParam;
import com.kingint.mbg.sys.entity.UmsMember;

public interface MemberBackService {


    /**
     * 添加用户信息
     * @param member
     * @return
     */
    Integer  insertMemberInfo(UmsMember member);

    /**
     * 删除用户信息
     * @param id
     * @return
     */
    Integer deleteMemberInfo(Long id);

    /**
     * 分页查询相关的信息
     * @param param
     * @param pageNum
     * @param pageSize
     * @return
     */
    IPage<UmsMember> getAllMemberList(BackQueryParam param,Integer pageNum,Integer pageSize);

    /**
     * 获取对应用户的详情
     * @param id
     * @return
     */
    UmsMember getMemberInfo(Long id);

    /**
     * 修改用户信息
     * @param member
     * @return
     */
    Integer updateMemberInfo(UmsMember member);
}
